#ifndef LABELBUTTON_H
#define LABELBUTTON_H

#include <QLabel>
#include <QAbstractButton>

// an extension of QLabel that allows action on click
class LabelButton : public QLabel {
    Q_OBJECT

    public:
        LabelButton( QWidget * parent = 0 );

    signals:
        void clicked();

    private:
        void mousePressEvent( QMouseEvent * event );
};

#endif
